package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.MallRecommend;
import com.huaxiafinance.management.model.MallRecommendExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MallRecommendMapper {
    int countByExample(MallRecommendExample example);

    int deleteByExample(MallRecommendExample example);


    int deleteByPrimaryKey(Integer id);

    int insert(MallRecommend record);

    int insertSelective(MallRecommend record);

    List<MallRecommend> selectByExample(MallRecommendExample example);

    MallRecommend selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MallRecommend record, @Param("example") MallRecommendExample example);

    int updateByExample(@Param("record") MallRecommend record, @Param("example") MallRecommendExample example);

    int updateByPrimaryKeySelective(MallRecommend record);

    int updateByPrimaryKey(MallRecommend record);
    int deletAll();
    List<MallRecommend> selectAll();

}